package com.ericsson.resourceplanner.util;


import org.springframework.security.crypto.bcrypt.BCryptPasswordEncoder;

public class PasswordEncoder {

	/**
	 * @param args
	 */
	public static void main(String args[]){
	//public String getHashPassword(String password) {  
		  BCryptPasswordEncoder passwordEncoder = new BCryptPasswordEncoder();  
		  String hashedPassword = passwordEncoder.encode("password");  
		  
		  System.out.println("The encrypted password is: "+hashedPassword);  
		 // return hashedPassword;  
		 }  

}
